Skip to content

bugfix: agent using gemini-2.5-flash (via OpenRouter) misbehaves when calling tools#229

Merged
vcfgv merged 2 commits intomainfrom
bugfix/agent-tool-calling-misbehaviours
Oct 29, 2025
Merged

bugfix: agent using gemini-2.5-flash (via OpenRouter) misbehaves when calling tools#229
vcfgv merged 2 commits intomainfrom
bugfix/agent-tool-calling-misbehaviours

Conversation

@vcfgv
Copy link
Collaborator

@vcfgv vcfgv commented Oct 28, 2025

📝 Pull Request Template

1. Related Issue

Closes #228

Type of Change (select one)

Bug Fix

3. Description

Simply removing the use_json_mode parameter works like a charm, while further investigations are planned.

4. Testing

  • I have tested this locally.
  • I have updated or added relevant tests.

5. Checklist

@vcfgv vcfgv marked this pull request as ready for review October 29, 2025 01:33
@vcfgv vcfgv requested a review from hazeone October 29, 2025 01:34
@vcfgv vcfgv changed the title bugfix: agent tool calling misbehaviours bugfix: agent using gemini-2.5-flash (via OpenRouter) misbehaves when calling tools Oct 29, 2025
@vcfgv vcfgv requested a review from su8su October 29, 2025 02:23
@vcfgv vcfgv merged commit 7ee70c3 into main Oct 29, 2025
3 checks passed
@vcfgv vcfgv deleted the bugfix/agent-tool-calling-misbehaviours branch October 29, 2025 02:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Planner calls the same tool again and again when using google/gemini-2.5-flash from OpenRouter

2 participants